package com.tarena.lbs.basic.web.dao.mapper;

import com.tarena.lbs.pojo.basic.bo.AdminBO;
import com.tarena.lbs.pojo.basic.dos.AdminDO;
import com.tarena.lbs.pojo.basic.query.AdminQuery;
import com.tarena.lbs.pojo.basic.vo.AdminVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdminMapper {

    AdminDO selectAdminByPhone(String phone);

    AdminDO selectAdminById(Integer userId);

    List<AdminDO> selectAdminByPage(AdminQuery query);

    Long selectCountByPhone(String accountPhone);

    void insertAdminObj(AdminDO adminDO);
}
